home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / gnome-games / aisleriot / games / bakers_game.scm < prev    next >
Encoding:
Text File  |  2009-04-14  |  1.1 KB  |  34 lines

  1. ; AisleRiot - bakers_game.scm
  2. ; Copyright (C) 2008 Vincent Povirk <madewokherd@gmail.com>
  3. ;
  4. ; This game is free software; you can redistribute it and/or modify
  5. ; it under the terms of the GNU General Public License as published by
  6. ; the Free Software Foundation; either version 2, or (at your option)
  7. ; any later version.
  8. ;
  9. ; This program is distributed in the hope that it will be useful,
  10. ; but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. ; GNU General Public License for more details.
  13. ;
  14. ; You should have received a copy of the GNU General Public License
  15. ; along with this program; if not, write to the Free Software
  16. ; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  17. ; USA
  18.  
  19. (load "freecell.scm")
  20.  
  21. (define (field-join? lower upper)
  22.   (and (eq? (get-suit lower) (get-suit upper))
  23.        (eq? (+ (get-value lower) 1) (get-value upper))))
  24.  
  25. (define (max-auto-red)
  26.   13
  27. )
  28.  
  29. (define (max-auto-black)
  30.   13
  31. )
  32.  
  33. (set-lambda new-game button-pressed button-released button-clicked button-double-clicked game-over game-won get-hint get-options apply-options timeout droppable?)
  34.